# Maintainer: team/phosh <fossdd@pwned.life>
pkgname=gmobile
pkgver=0.1.0
pkgrel=1
pkgdesc="Functions useful in mobile related, glib based projects"
url="https://gitlab.gnome.org/World/Phosh/gmobile"
arch="all"
license="GPL-3.0-only"
makedepends="
	meson
	glib-dev
	json-glib-dev
	gobject-introspection-dev
	"
subpackages="$pkgname-dev"
source="https://sources.phosh.mobi/releases/gmobile/gmobile-$pkgver.tar.xz"

build() {
	abuild-meson build
	meson compile -C build
}

check() {
	meson test -C build
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C build
}

sha512sums="
eb17d0b39d5dbe197a2502fe974af37076317094c4759bbc4924d951fdb1bdb1fe8f13a85419dad756954c165bbd6dfca4ce555f6e3f5a3def4bac8bc913ab1a  gmobile-0.1.0.tar.xz
"
